package com.hulk.ratel.web;

import lombok.*;
import lombok.experimental.Accessors;

@Builder
@Accessors(chain = true)
@Data
@EqualsAndHashCode
@AllArgsConstructor
public class User {
    private String id;
    private String name;
    private Integer age;

    public static void main(String[] args) {
       User user = User.builder().age(1).name("zw").id("1").build();
        user.setName("zyd");
        System.out.println(user);

    }
}



